package de.koller.planet2D.util;

public class Parsers {

	public static double getValue( double oldV, String newV ) {
		try {
			double v = Double.parseDouble( newV );
			return v;
		} catch( Exception ex ) {
			return oldV;
		}
	}
	
}
